package com.tianxinweb.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by cboy on 2018/8/7.
 */
@Component
@ConfigurationProperties(prefix = "alidayu")
public class AlidayuConfig {

    private String accessKeyId; //必填:你的accessKeyId
    private String accessKeySecret; //必填:你的accessKeySecret
    private String signName; //必填:短信签名-可在短信控制台中找到
    private String templateCode; //必填:短信模板-可在短信控制台中找到，发送国际/港澳台消息时，请使用国际/港澳台短信模版
    //可选:模板中的变量替换JSON串,如模板内容为"您的验证码是${code}，
    // 在5分钟内有效。如非本人操作请忽略本短信"时,此处的值为:code
    private String templateParam;

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public String getTemplateParam() {
        return templateParam;
    }

    public void setTemplateParam(String templateParam) {
        this.templateParam = templateParam;
    }

}
